package se.topshelf.golftracker.web.validator;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
import se.topshelf.golftracker.core.domain.Address;

/**
 *
 */
public class AddressValidator implements Validator {

    public boolean supports(Class<?> clazz) {
        return clazz.getClass().isAssignableFrom(Address.class);
    }

    public void validate(Object target, Errors errors) {


    }
}
